﻿using System.Collections.Generic;

namespace Abp0713Demo.HistoryData.Dto
{
    public class HistoryDataDto
    {
        public HistoryDataDto()
        {
            this.ItemBuffers = new List<HistoryDataItemBuffer>();
        }
        public long Begin { get; set; }
        public long End { get; set; }

        public List<HistoryDataItemBuffer> ItemBuffers { get; set; }
    }

    public class HistoryDataItemBuffer
    {
        public int PointId { get; set; }

        /// <summary>
        /// 数据,此数组长度为2. 0:表示long整时间;1:表示此刻时间的值
        /// </summary>
        public List<double[]> Data { get; set; }
    }
    
}